package com.fg.fgmall.service;

import com.fg.fgmall.entity.Product;

import java.util.List;

/**
 * 首页业务层
 */
public interface HomeService {

    // 获得最新商品
    List<Product> selectNewProducts() throws Exception;

    // 获得热门商品
    List<Product> selectHotProducts() throws Exception;
}
